<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="王超凡">
    <script src="./jquery.js"></script>
    <!--<link rel="stylesheet" href="../base.css/base.css">-->
    <title></title>
    <style>
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        a{
            color: white;
            text-decoration: none;
        }
        body {
            margin: 0;
            padding: 0;
        }
        
        .caidan {
            width: 100%;
            height: 50px;
            background-color: #aaa;
        }
        
        .caidan1 {
            width: 400px;
            height: 50px;
            background-color: #888;
            margin: 0 auto;
        }
        
        .caidankuang {
            display: flex;
            justify-content: space-around;
            line-height: 50px;
        }
        
        .caidankuang li {
            width: 90px;
            height: 50px;
            text-align: center;
        }
        
        .caidanneirong {
            display: flex;
        }
        
        .yincangcaidan {
            width: 100px;
            height: 200px;
            border: 1px solid #999;
            display: none;
        }
        
        .yincangcaidan li {
            text-align: center;
        }
        
        .dianjicaidan {
            width: 90px;
            height: 50px;
        }
    </style>
</head>

<body>
    <div class="caidan">
        <div class="caidan1">

            <ul class="caidankuang">
                <li class="dianjicaidan">
                    <a href="">公司简介</a>
                    <ul class="yincangcaidan">
                        <li><a href="">概况介绍</a></li>
                        <li><a href="">发展历史</a></li>
                        <li><a href="">公司实力</a></li>
                    </ul>

                </li>
                <li class="dianjicaidan">
                    <a href="">产品介绍</a>
                    <ul class="yincangcaidan">
                        <li><a href="">概况介绍</a></li>
                        <li><a href="">发展历史</a></li>
                        <li><a href="">公司实力</a></li>
                    </ul>

                </li>
                <li class="dianjicaidan">
                    <a href="">联系我们</a>
                    <ul class="yincangcaidan">
                        <li><a href="">概况介绍</a></li>
                        <li><a href="">发展历史</a></li>
                        <li><a href="">公司实力</a></li>
                    </ul>
                </li>
                <li class="dianjicaidan">
                    <a href="">人才招聘</a>
                    <ul class="yincangcaidan">
                        <li><a href="">概况介绍</a></li>
                        <li><a href="">发展历史</a></li>
                        <li><a href="">公司实力</a></li>
                    </ul>

                </li>
            </ul>

        </div>
    </div>

</body>

</html>
<script>
        $('.dianjicaidan').hover(function () {
            $(this).find('.yincangcaidan').show()
            $(this).find('a').css('color','red')
            .css('text-decoration','underline')
        },function(){
           $(this).find('.yincangcaidan').hide()
           $(this).find('a').css('color','white')
           .css('text-decoration','')
        })
     
</script>